getApp();

Component({
    options: {
        styleIsolation: "shared"
    },
    properties: {
        invoiceType: {
            type: [ String, Number ],
            value: 1
        },
        invoiceList: {
            type: Array,
            value: []
        },
        loading: {
            type: Boolean,
            value: !1
        },
        finshed: {
            type: Boolean,
            value: !1
        }
    },
    data: {},
    lifetimes: {
        attached: function() {
            var e = wx.getStorageSync("langIndex");
            this.setData({
                language: e.en
            });
        }
    },
    methods: {
        goOrderdetail: function(e) {
            var t = e.currentTarget.dataset.orderid;
            wx.navigateTo({
                url: "/packageA/member/orderdetail/orderdetail?order_id=" + t + "&orderType=shop"
            });
        },
        toInvoiceDetail: function(e) {
            var t = e.currentTarget.dataset.invoiceid;
            wx.navigateTo({
                url: "/packageI/invoice/invoice-details/invoice-details?invoice_id=" + t
            });
        }
    }
});